package org.opsli.modulars.business.app.service.Impl;

import org.opsli.api.wrapper.business.signRecord.SignRecordModel;
import org.opsli.modulars.business.app.mapper.AppOneMapper;
import org.opsli.modulars.business.app.service.AppOneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppOneServiceImpl implements AppOneService {

    @Autowired
    private AppOneMapper appOneMapper;

    @Override
    public SignRecordModel getSignRecordByName(String userName) {
        return appOneMapper.getSignRecordByName(userName);
    }

    @Override
    public List<SignRecordModel> appSignIn(SignRecordModel userName) {
        return appOneMapper.appSignIn(userName);
    }


}
